package com.zj.enums;

import lombok.Data;
import lombok.Getter;

@Getter
public enum BizCodeEnum {

    ERROR(1001,"error"),
    SUCCESS(1000,"success")
    ;

     BizCodeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    private Integer code;

    private String message;
}
